import React from 'react'
// 写嵌套路由
import { Outlet } from 'react-router-dom'
import Car1 from './Car1'
import Car2 from './Car2'
type Props = {}

export default function Car({ }: Props) {
    return (
        <div>
            <p>Car页面</p>
            {/* 二级路由组件的坑 */}
            <Outlet></Outlet>
        </div>
    )
}